﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLayer;
using Entities;
using System.Data;

namespace BusinessLogicLayer
{
    public class ChiTietBaoCaoCongNoBO
    {
        private ChiTietBaoCaoCongNoDAL dal;
        public ChiTietBaoCaoCongNoBO()
        {
            try
            {
                dal = new ChiTietBaoCaoCongNoDAL();
            }
            catch (Exception e)
            {
                throw new BusinessLogicException();
            }
        }
        public int InsertChiTietBaoCaoCongNo(ChiTietBaoCaoCongNo ctbccn)
        {
            int kq = 0;
            try
            {
                kq = dal.InsertChiTietBaoCaoCongNo(ctbccn);
            }
            catch (Exception)
            {
                return kq;
                throw;
            }
            return kq;
        }
        
    }
}
